*{
    margin: 0;
    padding: 0;
}
body,html{
    width: 100%;
    height: 100%;
}
body{
    background: url(../images/login_bg.jpg) no-repeat center;
    background-size: cover;
}
.layui-main{
    position: relative;
    height: 100% !important;

}
.formbox{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 400px;
    height: 310px;
    background: url(../images/login_title.png) no-repeat center 20px;
    background-color: #fff;
}
.reg-box{
    display: none;
}
.layui-form{
    margin-top: 60px;
    padding: 0 30px;
}
.form-item-link{
    text-align: right;
}
.layui-form-item{
    position: relative;
}
.layui-form-item i{
    position: absolute;
    left: 10px;
    top: 10px;
}
.layui-form-item .layui-input{
    padding-left: 30px;
}
